package com.team233.zuccecho.service.inter;

import com.team233.zuccecho.Bean.*;
import com.team233.zuccecho.dto.FeedbackDao;
import com.team233.zuccecho.dto.QuestionnaireDto;
import com.team233.zuccecho.dto.StudentDto;
import com.team233.zuccecho.exception.EchoServiceException;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

@Service
public interface StudentInterface {
    long login(long stu_id,String stu_pwd) throws EchoServiceException;

    Integer modifyPwd(long stu_id,String oldpwd,String newpwd) throws EchoServiceException;

    List<Student> addStu(List<StudentDto> stuList) throws EchoServiceException;

    List<Feedback> findFeedBack(Long stu_id) throws EchoServiceException;

    Long submitQuestionnaire(FeedbackDao feedbackDao) throws EchoServiceException, IOException;

    List<String> getQns(long stu_id) throws EchoServiceException;

    List<Question> getQn(long qn_id) throws EchoServiceException;

    List<Clazz> QueryStuClazz(long stu_id) throws EchoServiceException;
}
